/**
 */
package fUML.Semantics.CommonBehaviors.Communications.impl;

import fUML.Semantics.CommonBehaviors.Communications.ClassifierBehaviorExecution;
import fUML.Semantics.CommonBehaviors.Communications.ClassifierBehaviorExecutionActivity;
import fUML.Semantics.CommonBehaviors.Communications.ClassifierBehaviorExecutionActivity_OwnedBehaviorActivity1;
import fUML.Semantics.CommonBehaviors.Communications.CommunicationsFactory;
import fUML.Semantics.CommonBehaviors.Communications.CommunicationsPackage;
import fUML.Semantics.CommonBehaviors.Communications.EventAccepter;
import fUML.Semantics.CommonBehaviors.Communications.EventDispatchLoop;
import fUML.Semantics.CommonBehaviors.Communications.FIFOGetNextEventStrategy;
import fUML.Semantics.CommonBehaviors.Communications.GetNextEventStrategy;
import fUML.Semantics.CommonBehaviors.Communications.ObjectActivation;
import fUML.Semantics.CommonBehaviors.Communications.SignalInstance;

import fUML.Semantics.Loci.LociL1.LociL1Package;

import fUML.Semantics.Loci.LociL1.impl.LociL1PackageImpl;

import fUML.Semantics.Loci.LociL2.LociL2Package;

import fUML.Semantics.Loci.LociL2.impl.LociL2PackageImpl;

import fUML.Semantics.Loci.LociL3.LociL3Package;

import fUML.Semantics.Loci.LociL3.impl.LociL3PackageImpl;

import fUML.Syntax.Actions.BasicActions.BasicActionsPackage;

import fUML.Syntax.Actions.BasicActions.impl.BasicActionsPackageImpl;

import fUML.Syntax.Actions.CompleteActions.CompleteActionsPackage;

import fUML.Syntax.Actions.CompleteActions.impl.CompleteActionsPackageImpl;

import fUML.Syntax.Actions.IntermediateActions.IntermediateActionsPackage;

import fUML.Syntax.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl;

import fUML.Syntax.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage;

import fUML.Syntax.Activities.CompleteStructuredActivities.impl.CompleteStructuredActivitiesPackageImpl;

import fUML.Syntax.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage;

import fUML.Syntax.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl;

import fUML.Syntax.Activities.IntermediateActivities.IntermediateActivitiesPackage;

import fUML.Syntax.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl;

import fUML.Syntax.Classes.Kernel.KernelPackage;

import fUML.Syntax.Classes.Kernel.impl.KernelPackageImpl;

import fUML.Syntax.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage;

import fUML.Syntax.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl;

import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EOperation;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;

import org.eclipse.emf.ecore.impl.EPackageImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model <b>Package</b>.
 * <!-- end-user-doc -->
 * @generated
 */
public class CommunicationsPackageImpl extends EPackageImpl implements CommunicationsPackage {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass classifierBehaviorExecutionActivityEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass classifierBehaviorExecutionActivity_OwnedBehaviorActivity1EClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass eventDispatchLoopEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass eventAccepterEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass signalInstanceEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass classifierBehaviorExecutionEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass objectActivationEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass getNextEventStrategyEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass fifoGetNextEventStrategyEClass = null;

	/**
	 * Creates an instance of the model <b>Package</b>, registered with
	 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
	 * package URI value.
	 * <p>Note: the correct way to create the package is via the static
	 * factory method {@link #init init()}, which also performs
	 * initialization of the package, or returns the registered package,
	 * if one already exists.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see org.eclipse.emf.ecore.EPackage.Registry
	 * @see fUML.Semantics.CommonBehaviors.Communications.CommunicationsPackage#eNS_URI
	 * @see #init()
	 * @generated
	 */
	private CommunicationsPackageImpl() {
		super(eNS_URI, CommunicationsFactory.eINSTANCE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static boolean isInited = false;

	/**
	 * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
	 * 
	 * <p>This method is used to initialize {@link CommunicationsPackage#eINSTANCE} when that field is accessed.
	 * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #eNS_URI
	 * @see #createPackageContents()
	 * @see #initializePackageContents()
	 * @generated
	 */
	public static CommunicationsPackage init() {
		if (isInited) return (CommunicationsPackage)EPackage.Registry.INSTANCE.getEPackage(CommunicationsPackage.eNS_URI);

		// Obtain or create and register package
		CommunicationsPackageImpl theCommunicationsPackage = (CommunicationsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof CommunicationsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new CommunicationsPackageImpl());

		isInited = true;

		// Obtain or create and register interdependencies
		BasicBehaviorsPackageImpl theBasicBehaviorsPackage = (BasicBehaviorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicBehaviorsPackage.eNS_URI) instanceof BasicBehaviorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicBehaviorsPackage.eNS_URI) : BasicBehaviorsPackage.eINSTANCE);
		fUML.Syntax.CommonBehaviors.Communications.impl.CommunicationsPackageImpl theCommunicationsPackage_1 = (fUML.Syntax.CommonBehaviors.Communications.impl.CommunicationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Syntax.CommonBehaviors.Communications.CommunicationsPackage.eNS_URI) instanceof fUML.Syntax.CommonBehaviors.Communications.impl.CommunicationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Syntax.CommonBehaviors.Communications.CommunicationsPackage.eNS_URI) : fUML.Syntax.CommonBehaviors.Communications.CommunicationsPackage.eINSTANCE);
		KernelPackageImpl theKernelPackage = (KernelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(KernelPackage.eNS_URI) instanceof KernelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(KernelPackage.eNS_URI) : KernelPackage.eINSTANCE);
		IntermediateActivitiesPackageImpl theIntermediateActivitiesPackage = (IntermediateActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(IntermediateActivitiesPackage.eNS_URI) instanceof IntermediateActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(IntermediateActivitiesPackage.eNS_URI) : IntermediateActivitiesPackage.eINSTANCE);
		CompleteStructuredActivitiesPackageImpl theCompleteStructuredActivitiesPackage = (CompleteStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CompleteStructuredActivitiesPackage.eNS_URI) instanceof CompleteStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CompleteStructuredActivitiesPackage.eNS_URI) : CompleteStructuredActivitiesPackage.eINSTANCE);
		ExtraStructuredActivitiesPackageImpl theExtraStructuredActivitiesPackage = (ExtraStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ExtraStructuredActivitiesPackage.eNS_URI) instanceof ExtraStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ExtraStructuredActivitiesPackage.eNS_URI) : ExtraStructuredActivitiesPackage.eINSTANCE);
		IntermediateActionsPackageImpl theIntermediateActionsPackage = (IntermediateActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(IntermediateActionsPackage.eNS_URI) instanceof IntermediateActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(IntermediateActionsPackage.eNS_URI) : IntermediateActionsPackage.eINSTANCE);
		CompleteActionsPackageImpl theCompleteActionsPackage = (CompleteActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CompleteActionsPackage.eNS_URI) instanceof CompleteActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CompleteActionsPackage.eNS_URI) : CompleteActionsPackage.eINSTANCE);
		BasicActionsPackageImpl theBasicActionsPackage = (BasicActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BasicActionsPackage.eNS_URI) instanceof BasicActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BasicActionsPackage.eNS_URI) : BasicActionsPackage.eINSTANCE);
		fUML.Semantics.Actions.BasicActions.impl.BasicActionsPackageImpl theBasicActionsPackage_1 = (fUML.Semantics.Actions.BasicActions.impl.BasicActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.BasicActions.BasicActionsPackage.eNS_URI) instanceof fUML.Semantics.Actions.BasicActions.impl.BasicActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.BasicActions.BasicActionsPackage.eNS_URI) : fUML.Semantics.Actions.BasicActions.BasicActionsPackage.eINSTANCE);
		fUML.Semantics.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl theIntermediateActionsPackage_1 = (fUML.Semantics.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.IntermediateActions.IntermediateActionsPackage.eNS_URI) instanceof fUML.Semantics.Actions.IntermediateActions.impl.IntermediateActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.IntermediateActions.IntermediateActionsPackage.eNS_URI) : fUML.Semantics.Actions.IntermediateActions.IntermediateActionsPackage.eINSTANCE);
		fUML.Semantics.Actions.CompleteActions.impl.CompleteActionsPackageImpl theCompleteActionsPackage_1 = (fUML.Semantics.Actions.CompleteActions.impl.CompleteActionsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.CompleteActions.CompleteActionsPackage.eNS_URI) instanceof fUML.Semantics.Actions.CompleteActions.impl.CompleteActionsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Actions.CompleteActions.CompleteActionsPackage.eNS_URI) : fUML.Semantics.Actions.CompleteActions.CompleteActionsPackage.eINSTANCE);
		fUML.Semantics.Activities.CompleteStructuredActivities.impl.CompleteStructuredActivitiesPackageImpl theCompleteStructuredActivitiesPackage_1 = (fUML.Semantics.Activities.CompleteStructuredActivities.impl.CompleteStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage.eNS_URI) instanceof fUML.Semantics.Activities.CompleteStructuredActivities.impl.CompleteStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage.eNS_URI) : fUML.Semantics.Activities.CompleteStructuredActivities.CompleteStructuredActivitiesPackage.eINSTANCE);
		fUML.Semantics.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl theExtraStructuredActivitiesPackage_1 = (fUML.Semantics.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage.eNS_URI) instanceof fUML.Semantics.Activities.ExtraStructuredActivities.impl.ExtraStructuredActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage.eNS_URI) : fUML.Semantics.Activities.ExtraStructuredActivities.ExtraStructuredActivitiesPackage.eINSTANCE);
		fUML.Semantics.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl theIntermediateActivitiesPackage_1 = (fUML.Semantics.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage.eNS_URI) instanceof fUML.Semantics.Activities.IntermediateActivities.impl.IntermediateActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage.eNS_URI) : fUML.Semantics.Activities.IntermediateActivities.IntermediateActivitiesPackage.eINSTANCE);
		fUML.Semantics.Classes.Kernel.impl.KernelPackageImpl theKernelPackage_1 = (fUML.Semantics.Classes.Kernel.impl.KernelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Classes.Kernel.KernelPackage.eNS_URI) instanceof fUML.Semantics.Classes.Kernel.impl.KernelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Classes.Kernel.KernelPackage.eNS_URI) : fUML.Semantics.Classes.Kernel.KernelPackage.eINSTANCE);
		LociL2PackageImpl theLociL2Package = (LociL2PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LociL2Package.eNS_URI) instanceof LociL2PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LociL2Package.eNS_URI) : LociL2Package.eINSTANCE);
		LociL3PackageImpl theLociL3Package = (LociL3PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LociL3Package.eNS_URI) instanceof LociL3PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LociL3Package.eNS_URI) : LociL3Package.eINSTANCE);
		LociL1PackageImpl theLociL1Package = (LociL1PackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LociL1Package.eNS_URI) instanceof LociL1PackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LociL1Package.eNS_URI) : LociL1Package.eINSTANCE);
		fUML.Semantics.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl theBasicBehaviorsPackage_1 = (fUML.Semantics.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage.eNS_URI) instanceof fUML.Semantics.CommonBehaviors.BasicBehaviors.impl.BasicBehaviorsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage.eNS_URI) : fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage.eINSTANCE);

		// Create package meta-data objects
		theCommunicationsPackage.createPackageContents();
		theBasicBehaviorsPackage.createPackageContents();
		theCommunicationsPackage_1.createPackageContents();
		theKernelPackage.createPackageContents();
		theIntermediateActivitiesPackage.createPackageContents();
		theCompleteStructuredActivitiesPackage.createPackageContents();
		theExtraStructuredActivitiesPackage.createPackageContents();
		theIntermediateActionsPackage.createPackageContents();
		theCompleteActionsPackage.createPackageContents();
		theBasicActionsPackage.createPackageContents();
		theBasicActionsPackage_1.createPackageContents();
		theIntermediateActionsPackage_1.createPackageContents();
		theCompleteActionsPackage_1.createPackageContents();
		theCompleteStructuredActivitiesPackage_1.createPackageContents();
		theExtraStructuredActivitiesPackage_1.createPackageContents();
		theIntermediateActivitiesPackage_1.createPackageContents();
		theKernelPackage_1.createPackageContents();
		theLociL2Package.createPackageContents();
		theLociL3Package.createPackageContents();
		theLociL1Package.createPackageContents();
		theBasicBehaviorsPackage_1.createPackageContents();

		// Initialize created meta-data
		theCommunicationsPackage.initializePackageContents();
		theBasicBehaviorsPackage.initializePackageContents();
		theCommunicationsPackage_1.initializePackageContents();
		theKernelPackage.initializePackageContents();
		theIntermediateActivitiesPackage.initializePackageContents();
		theCompleteStructuredActivitiesPackage.initializePackageContents();
		theExtraStructuredActivitiesPackage.initializePackageContents();
		theIntermediateActionsPackage.initializePackageContents();
		theCompleteActionsPackage.initializePackageContents();
		theBasicActionsPackage.initializePackageContents();
		theBasicActionsPackage_1.initializePackageContents();
		theIntermediateActionsPackage_1.initializePackageContents();
		theCompleteActionsPackage_1.initializePackageContents();
		theCompleteStructuredActivitiesPackage_1.initializePackageContents();
		theExtraStructuredActivitiesPackage_1.initializePackageContents();
		theIntermediateActivitiesPackage_1.initializePackageContents();
		theKernelPackage_1.initializePackageContents();
		theLociL2Package.initializePackageContents();
		theLociL3Package.initializePackageContents();
		theLociL1Package.initializePackageContents();
		theBasicBehaviorsPackage_1.initializePackageContents();

		// Mark meta-data to indicate it can't be changed
		theCommunicationsPackage.freeze();

  
		// Update the registry and return the package
		EPackage.Registry.INSTANCE.put(CommunicationsPackage.eNS_URI, theCommunicationsPackage);
		return theCommunicationsPackage;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getClassifierBehaviorExecutionActivity() {
		return classifierBehaviorExecutionActivityEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getClassifierBehaviorExecutionActivity_OwnedBehaviorActivity1() {
		return classifierBehaviorExecutionActivity_OwnedBehaviorActivity1EClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getEventDispatchLoop() {
		return eventDispatchLoopEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getEventAccepter() {
		return eventAccepterEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getSignalInstance() {
		return signalInstanceEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getSignalInstance_Type() {
		return (EReference)signalInstanceEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getClassifierBehaviorExecution() {
		return classifierBehaviorExecutionEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getClassifierBehaviorExecution_Execution() {
		return (EReference)classifierBehaviorExecutionEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getClassifierBehaviorExecution_Classifier() {
		return (EReference)classifierBehaviorExecutionEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getClassifierBehaviorExecution_ObjectActivation() {
		return (EReference)classifierBehaviorExecutionEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getObjectActivation() {
		return objectActivationEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getObjectActivation_WaitingEventAccepters() {
		return (EReference)objectActivationEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getObjectActivation_EventPool() {
		return (EReference)objectActivationEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getObjectActivation_Object() {
		return (EReference)objectActivationEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getObjectActivation_ClassifierBehaviorExecutions() {
		return (EReference)objectActivationEClass.getEStructuralFeatures().get(3);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getGetNextEventStrategy() {
		return getNextEventStrategyEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getFIFOGetNextEventStrategy() {
		return fifoGetNextEventStrategyEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public CommunicationsFactory getCommunicationsFactory() {
		return (CommunicationsFactory)getEFactoryInstance();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isCreated = false;

	/**
	 * Creates the meta-model objects for the package.  This method is
	 * guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void createPackageContents() {
		if (isCreated) return;
		isCreated = true;

		// Create classes and their features
		classifierBehaviorExecutionActivityEClass = createEClass(CLASSIFIER_BEHAVIOR_EXECUTION_ACTIVITY);

		classifierBehaviorExecutionActivity_OwnedBehaviorActivity1EClass = createEClass(CLASSIFIER_BEHAVIOR_EXECUTION_ACTIVITY_OWNED_BEHAVIOR_ACTIVITY1);

		eventDispatchLoopEClass = createEClass(EVENT_DISPATCH_LOOP);

		eventAccepterEClass = createEClass(EVENT_ACCEPTER);

		signalInstanceEClass = createEClass(SIGNAL_INSTANCE);
		createEReference(signalInstanceEClass, SIGNAL_INSTANCE__TYPE);

		classifierBehaviorExecutionEClass = createEClass(CLASSIFIER_BEHAVIOR_EXECUTION);
		createEReference(classifierBehaviorExecutionEClass, CLASSIFIER_BEHAVIOR_EXECUTION__EXECUTION);
		createEReference(classifierBehaviorExecutionEClass, CLASSIFIER_BEHAVIOR_EXECUTION__CLASSIFIER);
		createEReference(classifierBehaviorExecutionEClass, CLASSIFIER_BEHAVIOR_EXECUTION__OBJECT_ACTIVATION);

		objectActivationEClass = createEClass(OBJECT_ACTIVATION);
		createEReference(objectActivationEClass, OBJECT_ACTIVATION__WAITING_EVENT_ACCEPTERS);
		createEReference(objectActivationEClass, OBJECT_ACTIVATION__EVENT_POOL);
		createEReference(objectActivationEClass, OBJECT_ACTIVATION__OBJECT);
		createEReference(objectActivationEClass, OBJECT_ACTIVATION__CLASSIFIER_BEHAVIOR_EXECUTIONS);

		getNextEventStrategyEClass = createEClass(GET_NEXT_EVENT_STRATEGY);

		fifoGetNextEventStrategyEClass = createEClass(FIFO_GET_NEXT_EVENT_STRATEGY);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isInitialized = false;

	/**
	 * Complete the initialization of the package and its meta-model.  This
	 * method is guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void initializePackageContents() {
		if (isInitialized) return;
		isInitialized = true;

		// Initialize package
		setName(eNAME);
		setNsPrefix(eNS_PREFIX);
		setNsURI(eNS_URI);

		// Obtain other dependent packages
		fUML.Semantics.Classes.Kernel.KernelPackage theKernelPackage_1 = (fUML.Semantics.Classes.Kernel.KernelPackage)EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.Classes.Kernel.KernelPackage.eNS_URI);
		fUML.Syntax.CommonBehaviors.Communications.CommunicationsPackage theCommunicationsPackage_1 = (fUML.Syntax.CommonBehaviors.Communications.CommunicationsPackage)EPackage.Registry.INSTANCE.getEPackage(fUML.Syntax.CommonBehaviors.Communications.CommunicationsPackage.eNS_URI);
		fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage theBasicBehaviorsPackage_1 = (fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage)EPackage.Registry.INSTANCE.getEPackage(fUML.Semantics.CommonBehaviors.BasicBehaviors.BasicBehaviorsPackage.eNS_URI);
		KernelPackage theKernelPackage = (KernelPackage)EPackage.Registry.INSTANCE.getEPackage(KernelPackage.eNS_URI);
		LociL1Package theLociL1Package = (LociL1Package)EPackage.Registry.INSTANCE.getEPackage(LociL1Package.eNS_URI);

		// Create type parameters

		// Set bounds for type parameters

		// Add supertypes to classes
		signalInstanceEClass.getESuperTypes().add(theKernelPackage_1.getCompoundValue());
		getNextEventStrategyEClass.getESuperTypes().add(theLociL1Package.getSemanticStrategy());
		fifoGetNextEventStrategyEClass.getESuperTypes().add(this.getGetNextEventStrategy());

		// Initialize classes and features; add operations and parameters
		initEClass(classifierBehaviorExecutionActivityEClass, ClassifierBehaviorExecutionActivity.class, "ClassifierBehaviorExecutionActivity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(classifierBehaviorExecutionActivity_OwnedBehaviorActivity1EClass, ClassifierBehaviorExecutionActivity_OwnedBehaviorActivity1.class, "ClassifierBehaviorExecutionActivity_OwnedBehaviorActivity1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(eventDispatchLoopEClass, EventDispatchLoop.class, "EventDispatchLoop", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(eventAccepterEClass, EventAccepter.class, "EventAccepter", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		EOperation op = addEOperation(eventAccepterEClass, null, "accept", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, this.getSignalInstance(), "signalInstance", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(eventAccepterEClass, ecorePackage.getEBoolean(), "match", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, this.getSignalInstance(), "signalInstance", 1, 1, IS_UNIQUE, !IS_ORDERED);

		initEClass(signalInstanceEClass, SignalInstance.class, "SignalInstance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getSignalInstance_Type(), theCommunicationsPackage_1.getSignal(), null, "type", null, 1, 1, SignalInstance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		initEClass(classifierBehaviorExecutionEClass, ClassifierBehaviorExecution.class, "ClassifierBehaviorExecution", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getClassifierBehaviorExecution_Execution(), theBasicBehaviorsPackage_1.getExecution(), null, "execution", null, 1, 1, ClassifierBehaviorExecution.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getClassifierBehaviorExecution_Classifier(), theKernelPackage.getClass_(), null, "classifier", null, 1, 1, ClassifierBehaviorExecution.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getClassifierBehaviorExecution_ObjectActivation(), this.getObjectActivation(), this.getObjectActivation_ClassifierBehaviorExecutions(), "objectActivation", null, 0, 1, ClassifierBehaviorExecution.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		op = addEOperation(classifierBehaviorExecutionEClass, null, "execute", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage.getClass_(), "classifier", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theBasicBehaviorsPackage_1.getParameterValue(), "inputs", 0, -1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(classifierBehaviorExecutionEClass, null, "terminate", 1, 1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(classifierBehaviorExecutionEClass, null, "_startObjectBehavior", 1, 1, IS_UNIQUE, !IS_ORDERED);

		initEClass(objectActivationEClass, ObjectActivation.class, "ObjectActivation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getObjectActivation_WaitingEventAccepters(), this.getEventAccepter(), null, "waitingEventAccepters", null, 0, -1, ObjectActivation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getObjectActivation_EventPool(), this.getSignalInstance(), null, "eventPool", null, 0, -1, ObjectActivation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getObjectActivation_Object(), theKernelPackage_1.getObject(), theKernelPackage_1.getObject_ObjectActivation(), "object", null, 1, 1, ObjectActivation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);
		initEReference(getObjectActivation_ClassifierBehaviorExecutions(), this.getClassifierBehaviorExecution(), this.getClassifierBehaviorExecution_ObjectActivation(), "classifierBehaviorExecutions", null, 0, -1, ObjectActivation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED);

		op = addEOperation(objectActivationEClass, null, "startBehavior", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theKernelPackage.getClass_(), "classifier", 0, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, theBasicBehaviorsPackage_1.getParameterValue(), "inputs", 0, -1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(objectActivationEClass, null, "stop", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(objectActivationEClass, null, "register", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, this.getEventAccepter(), "accepter", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(objectActivationEClass, null, "unregister", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, this.getEventAccepter(), "accepter", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(objectActivationEClass, null, "send", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, this.getSignalInstance(), "signalInstance", 1, 1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(objectActivationEClass, null, "dispatchNextEvent", 1, 1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(objectActivationEClass, this.getSignalInstance(), "getNextEvent", 1, 1, IS_UNIQUE, !IS_ORDERED);

		addEOperation(objectActivationEClass, null, "_startObjectBehavior", 1, 1, IS_UNIQUE, !IS_ORDERED);

		op = addEOperation(objectActivationEClass, null, "_send", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, ecorePackage.getEJavaObject(), "signal", 1, 1, IS_UNIQUE, !IS_ORDERED);

		initEClass(getNextEventStrategyEClass, GetNextEventStrategy.class, "GetNextEventStrategy", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		op = addEOperation(getNextEventStrategyEClass, this.getSignalInstance(), "getNextEvent", 1, 1, IS_UNIQUE, !IS_ORDERED);
		addEParameter(op, this.getObjectActivation(), "objectActivation", 1, 1, IS_UNIQUE, !IS_ORDERED);

		initEClass(fifoGetNextEventStrategyEClass, FIFOGetNextEventStrategy.class, "FIFOGetNextEventStrategy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		// Create resource
		createResource(eNS_URI);
	}

} //CommunicationsPackageImpl
